package interfaces;

import java.sql.SQLException;
import java.util.ArrayList;
import model.Serpent;

public interface ISerpent {
  public boolean create(Serpent s) throws SQLException, ClassNotFoundException;
  public boolean update(Serpent s) throws SQLException, ClassNotFoundException;
  public boolean delete(Serpent s) throws SQLException, ClassNotFoundException;
  public ArrayList<Serpent> retrieveByID(int id) throws SQLException, ClassNotFoundException;
  public ArrayList<Serpent> retrieveAll() throws SQLException, ClassNotFoundException;
}
